import React from 'react'
// ===================================================================== global declare
const { $Lazy } = window
// ===================================================================== table
const InstrumentInfoTable 	= $Lazy.load(()=>import('./table/instrument-info'))
const MatterListTable		= $Lazy.load(()=>import('./table/matter-list'))
const ReferenceRangeTable 	= $Lazy.load(()=>import('./table/reference-range'))
// ===================================================================== component
class Index extends React.Component{
	state = {
		
	}
	
	componentDidMount(){
		
	}
	
	render(){
		const { edit } = this.props
		return (
			<>
				{/* 仪器信息 */}
				<InstrumentInfoTable {...this.props} disabled={edit}/>
				{/* 物料清单 */}
				<MatterListTable {...this.props} disabled={edit} />
				{/* 参考范围 */}
				<ReferenceRangeTable {...this.props} disabled={edit} />
			</>
		)
	}
}

export default Index